package com.kk.permission.huawei;

import android.accessibilityservice.AccessibilityService;
import android.content.Context;
import android.view.accessibility.AccessibilityEvent;

import com.kk.permission.AccessibilityEventType;
import com.kk.permission.handler.ConfigHandler;
import com.kk.permission.huawei.actionutil.HuaweiAccessibilityUtil;
import com.kk.permission.huawei.actionutil.HuaweiAutoStartUtil;
import com.kk.permission.huawei.actionutil.HuaweiBackgroundProtectUtil;
import com.kk.permission.huawei.actionutil.HuaweiCallNotificationUtil;
import com.kk.permission.huawei.actionutil.HuaweiFloatWindowUtil;
import com.kk.permission.huawei.actionutil.HuaweiModifySystemUtil;
import com.kk.permission.huawei.actionutil.HuaweiShortCutUtil;
import com.kk.permission.huawei.actionutil.HuaweiSystemDialingUtil;
import com.kk.permission.huawei.actionutil.HuaweiTrustAppUtil;

public abstract class HuaweiPermissionAccessbilityHandlerBase {
    public HuaweiAccessibilityUtil mAccessibilityUtil = new HuaweiAccessibilityUtil();
    public String mAppName = ConfigHandler.getInstance().getAppName();
    public HuaweiAutoStartUtil mAutoStartUtil = new HuaweiAutoStartUtil();
    public HuaweiBackgroundProtectUtil mBackgroundProtectUtil = new HuaweiBackgroundProtectUtil();
    public HuaweiCallNotificationUtil mCallNotificationUtil = new HuaweiCallNotificationUtil();
    public Context mContext;
    public HuaweiFloatWindowUtil mFloatWindowUtil = new HuaweiFloatWindowUtil();
    public HuaweiModifySystemUtil mModifySystemUtil = new HuaweiModifySystemUtil();
    public HuaweiShortCutUtil mShortCutUtil = new HuaweiShortCutUtil();
    public HuaweiSystemDialingUtil mSystemDialingUtil = new HuaweiSystemDialingUtil();
    public HuaweiTrustAppUtil mTrustAppUtil = new HuaweiTrustAppUtil();

    public abstract void handleAccessbilityEvent(AccessibilityEvent accessibilityEvent, AccessibilityService accessibilityService, AccessibilityEventType accessibilityEventType);

    public HuaweiPermissionAccessbilityHandlerBase(Context context) {
        this.mContext = context.getApplicationContext();
    }
}
